@extends('admin.base')
	@section('content')
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
            <i class="fa fa-calendar"></i>
			商品评分详情
          </h1>
          <ol class="breadcrumb">
            <li><a href="{{url('admin')}}"><i class="fa fa-dashboard"></i> 首页</a></li>
            <li><a href="#">商品评分</a></li>
            <li class="active">评分详情</li>
          </ol>
        </section>

        <!-- Main content -->
        <section class="content">
          <div class="row">
            <!-- right column -->
            <div class="col-md-12">
              <!-- Horizontal Form -->
              <div class="box box-primary">
                <div class="box-header with-border">
                  <h3 class="box-title"><i class="fa fa-plus"></i> 添加公告信息</h3>
                </div><!-- /.box-header -->
                <!-- form start -->
                  <div class="box-body">
                    <div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">商 品 名</label>
                      <div class="col-sm-4">
                        <input type="text" class="form-control" name="title" value="{{$list->name}}" readonly>
                      </div>
                    </div>	
					
					<div class="form-group">
                      <label for="inputEmail3" class="col-sm-2 control-label">商 品 图</label>
                      <div class="col-sm-4">
						<img src="../../../{{$list->pic}}" width="200px">
                      </div>
                    </div>
					
					<div class="form-group">
                      <table class="table table-bordered">
								<tr>
								  <th>用户 I D</th>
								  <th>用户名称</th>
								  <th>评分时间</th>
								  <th>评分分数</th>
								</tr>
								@foreach($link as $link)
								<tr>
								  <td>{{$link->uid}}</td>
								  <td>{{$link->name}}</td>
								  <td>{{$link->stime}}</td>
								  <td>{{$link->score}}</td>
								</tr>				
								@endforeach
						</table>
                    </div>
                  <div class="box-footer">
				    <div class="col-sm-offset-2 col-sm-1">
                    </div>
                  </div><!-- /.box-footer -->
				<div class="row"><div class="col-sm-12">&nbsp;</div></div>
              </div><!-- /.box -->
            </div><!--/.col (right) -->
          </div>   <!-- /.row -->
        </section><!-- /.content -->
    @endsection